import request from '@/utils/request'

// 查询订单列表
export function orderList(query) {
  return request({
    url: '/order/order/list',
    method: 'get',
    params: query
  })
}

// 查询订单衣物列表
export function orderClothesList(query) {
  return request({
    url: '/order/orderClothes/list',
    method: 'get',
    params: query
  })
}

// 获取订单批次详细信息
export function orderDetail(id) {
  return request({
    url: '/order/order/getDetailAdmin/'+id,
    method: 'get',
  })
}

// 完成订单
export function completeOrder(id) {
  return request({
    url: '/order/order/completeOrder/'+id,
    method: 'get',
  })
}
